package com.tiantian.app.manager;

public class Const {
 
	public static final String SESSION_REMOTE_IP = "remoteIp";
	public static final String SESSION_ID = "sessionId";
	public static final String SESSION_BUDDY = "buddy";
	public static final String SESSION_BUDDY_KEY = "session_buddy_key";
	
	public static final int CONNECT_SOCKET_TIMEOUT = 120000;
	public static final int CONNECT_HTTP_TIMEOUT = 120000;
	
	
	public static final int SOCKET_SLEEP_NORMAL = 500;
	public static final int SOCKET_SLEEP_SAFE_MODE = 120000;
	
	public static final String VERSION_ID = "0";
	public static final String CLIENT_IDENTIFIER = "Android-Dev";
	
    public static final int YES = 1;
    public static final int NO = 0;
 
    public static final int applicationID = 1;
    public static String restCode = "events";
    public static long applicationMID = 50;
    
	public static int requestID = 0;
	
	private static String SERVER_URL = "http://42.121.2.213:38080";
//	private static String SERVER_URL = "http://eusoccer.moliscgateway.com/eusoc.data.server";
	private static String SERVER_BASE_URL = SERVER_URL+"/mobileObjectFeed.action";
	private static String SERVER_BINARY_URL = SERVER_URL+"/binaryMsg.action";
	private static String SERVER_IMAGE_URL = SERVER_URL+"/";
	
	public static String getRequestServerUrl(){
		return SERVER_BASE_URL;
	}
	
	public static String getBinaryUrl(){
		return SERVER_BINARY_URL;
	}
	
	public static String getImageUrl(){
		return SERVER_IMAGE_URL;
	}
 
 
}
